﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LX.Data;

namespace LX.Data
{
    internal class EmptyPersistentContext : PersistentContext
    {
        public override IQueryable<T> GetQuery<T>()
        {
            return new List<T>().AsQueryable();
        }

        protected override void CommitContext()
        {
            
        }

        public override void Add<T>(T model)
        {
            
        }

        public override void Delete<T>(T model)
        {
            
        }

        public override T Get<T>(object id)
        {
            return null;
        }
    }
}
